<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style>

	.myClass
	{
		border:1px #000000 solid;
		margin:20px;
	}
</style>
<script type="text/javascript"  src="../libs/jquery-1.7.1.min.js"> </script>
<script>
	/*
	window.onload=function(){
		//	속성값 변경하기.

		var test1 = document.getElementById("test_1");
		test1.attributes.removeNamedItem("color");
	}
	*/
	$(document).ready(function(){
		$("#test_1").removeAttr("data-role");
		$("#test_1").removeAttr("style");
	});
	
</script>
</head>

<body>
	<div id="test_1" style="color:#ff0000;font-size:14px" data-role="data1"> 
        	테스트1-1
        </div>
</body>
</html>
